package template;

/**
 * @Author: linKe
 * @Date: 2022/1/15 16:24
 * @FileName: Coffer
 * @version: 1.0
 * @Description: Coffer对象
 */
public class Coffer extends CaffeineBeverage{
    @Override
    protected void brew() {
        System.out.println("冲咖啡...");
    }

    @Override
    protected void addCondiments() {
        System.out.println("加牛奶...");
    }

    /**
     * 重写钩子
     */
    @Override
    protected boolean isAddCondiments() {
        return false;
    }
}
